<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>问答区</title>
<link href="cpts_169_dcw/css/bootstrap.css" rel='stylesheet' type='text/css' />
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="cpts_169_dcw/js/jquery-1.11.1.min.js"></script>
<!---strat-slider---->
<!-- Custom Theme files -->
<link href="cpts_169_dcw/css/style.css" rel='stylesheet' type='text/css' />
<!----font-Awesome----->
<link rel="stylesheet" href="cpts_169_dcw/fonts/css/font-awesome.min.css">
<!----font-Awesome----->

<link rel="icon" type="image/png" href="assets/img/favicon.ico">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' name='viewport' />
<meta name="viewport" content="width=device-width" />
<!-- Bootstrap core CSS     -->
<link href="assets/css/bootstrap.min.css" rel="stylesheet" />
<!-- Animation library for notifications   -->
<link href="assets/css/animate.min.css" rel="stylesheet"/>
<!--  Light Bootstrap Table core CSS    -->
<link href="assets/css/light-bootstrap-dashboard.css" rel="stylesheet"/>
<!--  CSS for Demo Purpose, don't include it in your project     -->
<link href="assets/css/demo.css" rel="stylesheet" />    
<link href="assets/css/pe-icon-7-stroke.css" rel="stylesheet" />

</head>
<body>
  <div>
    <div class="top-header">
	  <div class="container">
		<p class="m_1">
		      <c:choose>
		        <c:when test="${empty sessionScope.session_admin }">
		                              游客你好！
		        </c:when>
		        <c:otherwise>
		            ${session_admin.username },你好!
		        </c:otherwise>
		    </c:choose>
        </p>&nbsp;&nbsp;
			<a href="AdminServlet?method=allQuestions"><font size="4" color="blue">进入问答</font>
			</a>&nbsp;&nbsp;
			<a href="AdminServlet?method=exit"><font size="4" color="blue">退出</font>
			</a>
		<div class="clearfix"> </div>
	  </div>
	</div>
	<div class="bottom-header">
	  <div class="container">
	    <div class="header_top-responsive">
	  	  <div class="logo_responsive"><a href="index.html"><img src="images/logo1.png" alt=""/> </a>
	  	  </div>
		  <div class="clearfix"> </div>
		</div>
	  </div>
	</div>
    <div class="wrap-box"></div>
    <div class="wrapper">
      <div class="sidebar" data-color="azure" data-image="assets/img/sidebar-5.jpg">
    	<div class="sidebar-wrapper">
          <ul class="nav">
            <li><a href="info_admin.jsp">信息管理</a></li>
            <li><a href="AdminServlet?method=manageUsers">用户管理</a></li>
            <li>
              <a href="AdminServlet?method=managePosts"> 问答管理</a>
            </li>
            <li><a href="addManager.jsp">添加管理员</a></li>
          </ul>
    	</div>
      </div>

      <div class="main-panel">
        <div class="content">
	      <div class="container-fluid">
		    <div class="row">
		</div>
	</div>
</div>
      
      </div>
    </div>
  </div>
</body>
    <!--   Core JS Files   -->
    <script src="assets/js/jquery-1.10.2.js" type="text/javascript"></script>
	<script src="assets/js/bootstrap.min.js" type="text/javascript"></script>

	<!--  Checkbox, Radio & Switch Plugins -->
	<script src="assets/js/bootstrap-checkbox-radio-switch.js"></script>

	<!--  Charts Plugin -->
	<script src="assets/js/chartist.min.js"></script>

    <!--  Notifications Plugin    -->
    <script src="assets/js/bootstrap-notify.js"></script>

    <!-- Light Bootstrap Table Core javascript and methods for Demo purpose -->
	<script src="assets/js/light-bootstrap-dashboard.js"></script>

	<!-- Light Bootstrap Table DEMO methods, don't include it in your project! -->
	<script src="assets/js/demo.js"></script>
</html>